/* Layout */
import Layout from '@/layout'
// import { Message } from 'element-ui'
import i18n from '@/utils/i18n'
// 动态路由
export const asyncRoutes = [
    {
        path: '/',
        component: Layout,
        redirect: '/home',
        meta: { title: i18n.t('message.gzt'), icon: 'nav_home' },
        children: [{
            path: 'home',
            name: 'Home',
            component: () => import('@/views/home/index'),
            meta: { title: i18n.t('message.gzt'), affix: true, icon: 'nav_gongzuotai' }
        }]
    },
    {
        path: '/profile',
        component: Layout,
        redirect: '/profile/index',
        hidden: true,
        meta: { title: i18n.t('message.grzx') },
        children: [
            {
                path: 'index',
                component: () => import('@/views/profile/index'),
                name: 'Profile',
                meta: { title: i18n.t('message.grzx'), icon: 'user' }
            }
        ]
    },
    {
        path: '/noticeList',
        component: Layout,
        redirect: '/noticeList/noticeList',
        meta: { title: i18n.t('message.tzlb'), icon: 'nav_tongzhi', serveName: 'noticeList' },
        children: [{
            path: 'noticeList',
            name: 'NoticeList',
            component: () => import('@/views/notice/noticeList/index'),
            meta: { title: i18n.t('message.tzlb'), serveName: 'NoticeList' }
        }, {
            path: 'noticeDetail',
            name: 'NoticeDetail',
            hidden: true,
            component: () => import('@/views/notice/noticeDetail/index'),
            meta: { title: i18n.t('message.tzxq'), activeMenu: '/noticeList/noticeList' }
        }]
    },
    {
        path: '/vipList',
        component: Layout,
        redirect: '/vipList/vipList',
        meta: { title: i18n.t('message.hygl'), icon: 'nav_viplist', serveName: 'vipList' },
        children: [
            {
                path: 'vipList',
                name: 'VipList',
                component: () => import('@/views/vipList/index'),
                meta: { title: i18n.t('message.hylb'), serveName: 'VipList' }
            },
            {
                path: 'vipDetails',
                name: 'VipDetails',
                hidden: true,
                component: () => import('@/views/vipCard/vipDetails/index'),
                meta: { title: i18n.t('message.hyxq'), serveName: 'VipDetails' }
            },
            {
                path: 'groupList',
                name: 'GroupList',
                component: () => import('@/views/group/groupList/index'),
                meta: { title: i18n.t('message.tthylb'), serveName: 'GroupList' }
            },
            {
                path: 'groupOpen',
                name: 'GroupOpen',
                component: () => import('@/views/group/groupOpen/index'),
                meta: { title: i18n.t('message.tthykt'), serveName: 'GroupOpen' },
                hidden: true
            },
            {
                path: 'groupDetails',
                name: 'GroupDetails',
                hidden: true,
                component: () => import('@/views/group/groupDetails/index'),
                meta: { title: i18n.t('message.ttxq') }
            },
            {
                path: 'groupEdit',
                name: 'GroupEdit',
                hidden: true,
                component: () => import('@/views/group/groupEdit/index'),
                meta: { title: i18n.t('message.tthybj') }
            },
            {
                path: 'memberInOutRecord',
                name: 'MemberInOutRecord',
                component: () => import('@/views/ticket/memberInOutRecord/index'),
                meta: { title: i18n.t('message.crcjl'), serveName: 'MemberInOutRecord' }
            },
            {
                path: 'associationList',
                name: 'AssociationList',
                component: () => import('@/views/vipList/associationList/index'),
                meta: { title: i18n.t('message.shgljl'), serveName: 'AssociationList' }
            }
        ]
    },
    {
        path: '/orienteering',
        component: Layout,
        redirect: '/orienteering/order',
        meta: { title: i18n.t('message.zxkgl'), icon: 'nav_special', serveName: 'SpecialCardOrderList' },
        children: [
            {
                path: 'SpecialCardList',
                name: 'SpecialCardList',
                component: () => import('@/views/orienteering/orienteering_card'),
                meta: { title: i18n.t('message.zxk'), serveName: 'SpecialCardListByVenue' }
            },
            {
                path: 'OrienteeringOrder',
                name: 'OrienteeringOrder',
                component: () => import('@/views/orienteering/order/index.vue'),
                meta: { title: i18n.t('message.zxkdd'), serveName: 'SpecialCardOrderList' }
            },
            {
                path: 'OrienteeringRecord',
                name: 'OrienteeringRecord',
                component: () => import('@/views/orienteering/saleRecord'),
                meta: { title: i18n.t('message.zxkxsmx'), serveName: 'SpecialCardSellInfo' }
            }
        ]
    },
    {
        path: '/areaSell',
        component: Layout,
        redirect: '/areaSell/areaReserve',
        meta: { title: i18n.t('message.cdsm'), icon: 'nav_changdishoumai', serveName: 'areaSell' },
        children: [{
            path: 'areaReserve',
            name: 'AreaReserve',
            component: () => import('@/views/areaSell/areaReserve/index'),
            meta: { title: i18n.t('message.cdyd'), serveName: 'AreaReserve' }
        }, {
            path: 'orderList',
            name: 'OrderList',
            component: () => import('@/views/areaSell/orderList/index'),
            meta: { title: i18n.t('message.dcdd'), serveName: 'OrderList' }
        }, {
            path: 'reserveList',
            name: 'ReserveList',
            component: () => import('@/views/areaSell/reserveList/index'),
            meta: { title: i18n.t('message.ydlb') }
        }, {
            path: 'defaultReserveList',
            name: 'DefaultReserveList',
            component: () => import('@/views/areaSell/defaultReserveList/index'),
            meta: { title: i18n.t('message.gdydlb'), serveName: 'DefaultReserveList' }
        }
        ]
    },
    {
        path: '/venueArea',
        component: Layout,
        redirect: '/venueArea/areaVenue',
        meta: { title: i18n.t('message.cdcqgl'), icon: 'nav_changdiguanli', serveName: 'venueArea' },
        children: [
            {
                path: 'projectList',
                name: 'ProjectList',
                component: () => import('@/views/project/projectList/index'),
                meta: { title: i18n.t('message.ydxm'), serveName: 'ProjectList' }
            },
            {
                path: 'areaVenue',
                name: 'AreaVenue',
                component: () => import('@/views/venueArea/areaVenue/index'),
                meta: { title: i18n.t('message.cqcd'), serveName: 'AreaVenue' }
            },
            {
                path: 'venuePrice',
                name: 'VenuePrice',
                component: () => import('@/views/venueArea/venuePrice/venuePrice/index'),
                meta: { title: i18n.t('message.cddj'), serveName: 'VenuePrice' }
            }, {
                path: 'venuePriceList',
                name: 'VenuePriceList',
                hidden: true,
                component: () => import('@/views/venueArea/venuePrice/venuePriceList/index'),
                meta: { title: i18n.t('message.cxdjlb'), activeMenu: '/venueArea/venuePrice/venuePrice' }
            }, {
                path: 'venueOptions',
                name: 'VenueOptions',
                component: () => import('@/views/venueArea/venueOptions/venueOptions/index'),
                meta: { title: i18n.t('message.cdgllb'), serveName: 'VenueOptions' }
            }, {
                path: 'venueOptionAdd',
                name: 'VenueOptionAdd',
                component: () => import('@/views/venueArea/venueOptions/venueOptionAdd/index'),
                hidden: true,
                meta: { title: i18n.t('message.cdglpz') }
            },
            {
                path: 'projectAdd',
                name: 'ProjectAdd',
                hidden: true,
                component: () => import('@/views/project/projectAdd/index'),
                meta: { title: i18n.t('message.xzxm'), activeMenu: '/project/projectList' }
            }]
    },
    {
        path: '/ticket',
        component: Layout,
        redirect: '/ticket/ticketList',
        meta: { title: i18n.t('message.mpgl'), icon: 'nav_menpiao', serveName: 'ticket' },
        children: [{
            path: 'ticketList',
            name: 'TicketList',
            component: () => import('@/views/ticket/ticketList/ticketList/index'),
            meta: { title: i18n.t('message.mplb'), serveName: 'TicketList' }
        },
        {
            path: 'ticketAdd',
            name: 'TicketAdd',
            hidden: true,
            component: () => import('@/views/ticket/ticketList/ticketAdd/index'),
            meta: { title: i18n.t('message.xzmp'), activeMenu: '/ticket/ticketList/ticketList' }
        },
        {
            path: 'ticketDetail',
            name: 'TicketDetail',
            hidden: true,
            component: () => import('@/views/ticket/ticketList/ticketDetail/index'),
            meta: { title: i18n.t('message.ckmp'), activeMenu: '/ticket/ticketList/ticketList' }
        }, {
            path: 'ticketSell',
            name: 'TicketSell',
            component: () => import('@/views/ticket/ticketSell/index'),
            meta: { title: i18n.t('message.mpsm'), serveName: 'TicketSell' }
        },
        {
            path: 'ticketOrder',
            name: 'TicketOrder',
            component: () => import('@/views/ticket/ticketOrder/index'),
            meta: { title: i18n.t('message.mpdd'), serveName: 'TicketOrder' }
        },
        {
            path: 'ticketOrderDetail',
            name: 'ticketOrderDetail',
            component: () => import('@/views/ticket/ticketOrder/orderDetail/index'),
            hidden: true,
            meta: { title: i18n.t('message.ddxq') }
        },
        {
            path: 'checkTicketHistory',
            name: 'CheckTicketHistory',
            component: () => import('@/views/ticket/checkTicketHistory/index'),
            meta: { title: i18n.t('message.mpxsmx'), serveName: 'CheckTicketHistory' }
        },
        {
            path: 'overtime',
            name: 'Overtime',
            component: () => import('@/views/chargeRules/overtime/index'),
            meta: { title: i18n.t('message.csjfgz'), serveName: 'overtime' }
        }
        ]
    },
    {
        path: '/combo',
        component: Layout,
        redirect: '/combo/comboSell',
        meta: { title: i18n.t('message.tcgl'), icon: 'nav_taocangl', serveName: 'Combo' },
        children: [
            {
                path: 'comboList',
                name: 'ComboList',
                component: () => import('@/views/combo/comboList/index.vue'),
                meta: { title: i18n.t('message.tcpz'), serveName: 'MealsListByVenue' }
            },
            {
                path: 'comboAdd',
                name: 'ComboAdd',
                hidden: true,
                component: () => import('@/views/combo/comboList/comboAdd/index'),
                meta: { title: i18n.t('message.xztc') }
            },
            {
                path: 'comboDetail',
                name: 'comboDetail',
                component: () => import('@/views/combo/comboDetail/index'),
                hidden: true,
                meta: { title: i18n.t('message.tcxq') }
            },
            {
                path: 'comboSell',
                name: 'ComboSell',
                component: () => import('@/views/combo/comboSell/index'),
                meta: { title: i18n.t('message.tcsm'), serveName: 'ComboSell' }
            }, {
                path: 'comboOrderList',
                name: 'ComboOrderList',
                component: () => import('@/views/combo/comboOrderList/index'),
                meta: { title: i18n.t('message.ddlb'), serveName: 'ComboOrderList' }
            },
            {
                path: 'salesRecord',
                name: 'salesRecord',
                component: () => import('@/views/combo/salesRecord/index'),
                meta: { title: i18n.t('message.tcxsmx'), serveName: 'salesRecord' }
            },
            {
                path: 'comboTransferHistory',
                name: 'ComboTransferHistory',
                component: () => import('@/views/combo/comboTransferHistory/index'),
                meta: { title: i18n.t('message.tczrjl'), serveName: 'ComboTransferHistory' }
            }]
    },
    {
        path: '/device',
        component: Layout,
        redirect: '/device/gate',
        meta: { title: i18n.t('message.sbgl'), icon: 'nav_shebei', serveName: 'device' },
        children: [{
            path: 'gate',
            name: 'Gate',
            component: () => import('@/views/device/gate/index'),
            meta: { title: i18n.t('message.zjgl'), serveName: 'Gate' }
        },
        {
            path: 'devicec',
            name: 'Devicc',
            component: () => import('@/views/device/devicec/index'),
            meta: { title: i18n.t('message.dyjgl'), serveName: 'Devicc' }
        },
        {
            path: 'devicef',
            name: 'Devicf',
            component: () => import('@/views/device/devicef/index'),
            meta: { title: i18n.t('message.dkgl'), serveName: 'Devicf' }
        },
        {
            path: 'devicei',
            name: 'Devici',
            component: () => import('@/views/device/devicei/index'),
            meta: { title: i18n.t('message.sxtgl'), serveName: 'Devici' }
        },
        {
            path: 'devicek',
            name: 'Devicek',
            component: () => import('@/views/device/devicek/index'),
            meta: { title: i18n.t('message.smsxt'), serveName: 'Devicek' }
        }, {
            path: 'acquisitionManager',
            name: 'AcquisitionManager',
            component: () => import('@/views/device/acquisitionManager/index'),
            meta: { title: i18n.t('message.cjygl'), serveName: 'AcquisitionManager' }
        },
        {
            path: 'epidemicSite',
            name: 'EpidemicSite',
            component: () => import('@/views/device/epidemicSite/index'),
            meta: { title: i18n.t('message.fyzdgl'), serveName: 'EpidemicSite' }
        }, {
            path: 'lowriskArea',
            name: 'LowriskArea',
            component: () => import('@/views/device/lowriskArea/index'),
            meta: { title: i18n.t('message.cgdmqy'), serveName: 'EpidemicSite' }
        }, {
            path: 'deviceTicket',
            name: 'DeviceTicket',
            component: () => import('@/views/device/deviceTicket/index'),
            meta: { title: i18n.t('message.zzjgl'), serveName: 'deviceTicket' }
        }, {
            path: 'scjgl',
            name: 'Scjgl',
            component: () => import('@/views/device/scjgl/index'),
            meta: { title: i18n.t('message.scjgl'), serveName: 'PDAList' }
        }, {
            path: 'deviceCourse',
            name: 'DeviceCourse',
            component: () => import('@/views/device/deviceCourse/index'),
            meta: { title: i18n.t('message.kxjgl'), serveName: 'deviceCourse' }
        }
        ]
    },

    {
        path: '/finance',
        component: Layout,
        redirect: '/finance/financeSettlement',
        meta: { title: i18n.t('message.cwgl'), icon: 'nav_caiwu', serveName: 'finance' },
        children: [
            {
                path: 'financeSettlement',
                name: 'FinanceSettlement',
                component: () => import('@/views/finance/financeSettlement/index'),
                meta: { title: i18n.t('message.cwjs'), serveName: 'FinanceSettlement' }
            },
            {
                path: 'financeCurrent',
                name: 'FinanceCurrent',
                component: () => import('@/views/finance/financeCurrent/index.vue'),
                meta: { title: i18n.t('message.zjls'), serveName: 'financeCurrent' }
            },
            {
                path: 'financeDefaultSpend',
                name: 'FinanceDefaultSpend',
                component: () => import('@/views/finance/financeDefaultSpend/financeDefaultSpend/index'),
                meta: { title: i18n.t('message.tyxf'), serveName: 'FinanceDefaultSpend' }
            },
            {
                path: 'handlingFees',
                name: 'HandlingFees',
                component: () => import('@/views/finance/handlingFees/index'),
                meta: { title: i18n.t('message.sxfdd'), serveName: 'HandlingFees' }
            },
            {
                path: 'orderRefundRecord',
                name: 'OrderRefundRecord',
                component: () => import('@/views/finance/refundRecord'),
                meta: { title: i18n.t('message.tkjl'), serveName: 'OrderRefundRecord' }
            },
            {
                path: 'financeDefaultSpendAdd',
                name: 'FinanceDefaultSpendAdd',
                hidden: true,
                component: () => import('@/views/finance/financeDefaultSpend/financeDefaultSpendAdd/index'),
                meta: { title: i18n.t('message.xztyxf'), activeMenu: '/finance/financeDefaultSpend/financeDefaultSpend' }
            }
        ]
    },
    {
        path: '/integral',
        component: Layout,
        redirect: '/integral/integralList',
        meta: { title: i18n.t('message.jfsc'), icon: 'nav_shangpin', serveName: 'Integral' },
        children: [{
            path: 'integralList',
            name: 'IntegralList',
            component: () => import('@/views/integral/shop/index'),
            meta: { title: i18n.t('message.spgl'), serveName: 'IntegralList' }
        }, {
            path: 'integralAdd',
            name: 'IntegralAdd',
            hidden: true,
            component: () => import('@/views/integral/shop/add.vue'),
            meta: { title: i18n.t('message.xzsp') }
        }, {
            path: 'integralOrder',
            name: 'IntegralOrder',
            component: () => import('@/views/integral/order/index'),
            meta: { title: i18n.t('message.dhdd'), serveName: 'IntegralOrder' }
        }, {
            path: 'integraldetailed',
            name: 'Integraldetailed',
            component: () => import('@/views/integral/detailed/index'),
            meta: { title: i18n.t('message.jfmx'), serveName: 'Integraldetailed' }
        }]
    },
    {
        path: '/goodsmanager',
        component: Layout,
        redirect: '/goodsmanager/managerList',
        meta: { title: i18n.t('message.spgl'), icon: 'nav_shangpin', serveName: 'goodsmanager' },
        children: [{
            path: 'managerList',
            redirect: '/goodsmanager/managerList/managerList',
            component: () => import('@/views/goodsmanager/managerList/index'),
            meta: { title: i18n.t('message.spgl') },
            children: [{
                path: 'managerList',
                name: 'ManagerList',
                component: () => import('@/views/goodsmanager/managerList/managerList/index'),
                meta: { title: i18n.t('message.spgl'), serveName: 'ManagerList' }
            }, {
                path: 'goodsAdd',
                name: 'GoodsAdd',
                hidden: true,
                component: () => import('@/views/goodsmanager/managerList/goodsAdd/index'),
                meta: { title: i18n.t('message.xzsp') }
            }]
        }, {
            path: 'goodsSale',
            name: 'GoodsSale',
            component: () => import('@/views/goodsmanager/goodsSale/index'),
            meta: { title: i18n.t('message.spsm'), serveName: 'GoodsSale' }
        }, {
            path: 'orderManager',
            name: 'OrderManager',
            component: () => import('@/views/goodsmanager/orderManager/index'),
            meta: { title: i18n.t('message.ddgl'), serveName: 'OrderManager' }
        }
        ]
    },
    {
        path: '/stockManager',
        component: Layout,
        redirect: '/stockManager/putStorageManager',
        meta: { title: i18n.t('message.kcgl'), icon: 'nav_kucun', serveName: 'stockManager' },
        children: [{
            path: 'putStorageManager',
            name: 'PutStorageManager',
            component: () => import('@/views/stockManager/putStorageManager/index'),
            meta: { title: i18n.t('message.rkgl'), serveName: 'PutStorageManager' }
        }, {
            path: 'allotManager',
            name: 'AllotManager',
            component: () => import('@/views/stockManager/allotManager/index'),
            meta: { title: i18n.t('message.dbgl'), serveName: 'AllotManager' }
        }, {
            path: 'allotStorageManager',
            name: 'AllotStorageManager',
            component: () => import('@/views/stockManager/allotStorageManager/index'),
            meta: { title: i18n.t('message.dbrkgl'), serveName: 'AllotStorageManager' }
        }, {
            path: 'destoryManager',
            name: 'DestoryManager',
            component: () => import('@/views/stockManager/destoryManager/index'),
            meta: { title: i18n.t('message.xhgl'), serveName: 'DestoryManager' }
        }]
    },
    {
        path: '/offlinecourses',
        component: Layout,
        redirect: '/offlinecourses/offlinecoursesList',
        meta: { title: i18n.t('message.offgl'), icon: 'nav_xianxiake', serveName: 'offlinecourses' },
        children: [
            {
                path: 'individualLessonList',
                name: 'IndividualLessonList',
                component: () => import('@/views/offlinecourses/personalCourse'),
                meta: { title: i18n.t('message.sjk'), serveName: 'IndividualLessonList' }
            },
            {
                path: 'offlinecoursesList',
                name: 'OfflinecoursesList',
                component: () => import('@/views/offlinecourses/conventionCourse'),
                meta: { title: i18n.t('message.cgk'), serveName: 'OfflinecoursesList' }
            },
            {
                path: 'onlineCoursesList',
                name: 'OnlineCoursesList',
                component: () => import('@/views/onlineCourses/onlineCoursesList/index'),
                meta: { title: i18n.t('message.spk'), serveName: 'OnlineCoursesList' }
            },
            {
                path: 'studentAdmin',
                name: 'StudentAdmin',
                component: () => import('@/views/offlinecourses/studentAdmin'),
                meta: { title: i18n.t('message.xygl'), serveName: 'StudentAdmin' }
            },
            {
                path: 'classRecord',
                name: 'ClassRecord',
                component: () => import('@/views/offlinecourses/classRecord'),
                meta: { title: i18n.t('message.ksjl'), serveName: 'CourseTimeStuList' }
            },
            {
                path: 'coachManagementList',
                name: 'CoachManagementList',
                component: () => import('@/views/offlinecourses/coachManagement'),
                meta: { title: i18n.t('message.jlgl'), serveName: 'CoachManagementList' }
            },
            {
                path: 'scheduleCard',
                name: 'ScheduleCard',
                hidden: true,
                component: () => import('@/views/offlinecourses/scheduleCard/index'),
                meta: { title: i18n.t('message.kcb'), serveName: 'ScheduleCard' }
            },
            {
                path: 'offlinecoursesOrder',
                name: 'OfflinecoursesOrder',
                component: () => import('@/views/offlinecourses/offlinecoursesOrder/index'),
                meta: { title: i18n.t('message.ddgl'), serveName: 'offlinecoursesOrder' }
            },
            {
                path: 'scheduleCardAdd',
                name: 'ScheduleCardAdd',
                hidden: true,
                component: () => import('@/views/offlinecourses/scheduleCardAdd/index'),
                meta: { title: i18n.t('message.pk') }
            },
            {
                path: 'scheduleCardEdit',
                name: 'ScheduleCardEdit',
                hidden: true,
                component: () => import('@/views/offlinecourses/scheduleCardEdit/index'),
                meta: { title: i18n.t('message.pk') }
            },
            {
                path: 'offlinecoursesRefund',
                name: 'OfflinecoursesRefund',
                component: () => import('@/views/offlinecourses/offlinecoursesRefund/index'),
                meta: { title: i18n.t('message.tkejl'), serveName: 'OfflinecoursesRefund' }
            },
            {
                path: 'onlineCoursesVideoOrder',
                name: 'OnlineCoursesVideoOrder',
                hidden: true,
                component: () => import('@/views/onlineCourses/onlineCoursesVideoOrder/index'),
                meta: { title: i18n.t('message.videogl'), serveName: 'OnlineCoursesVideoOrder' }
            },
            {
                path: 'onlineCoursesAdd',
                name: 'OnlineCoursesAdd',
                hidden: true,
                component: () => import('@/views/onlineCourses/onlineCoursesAdd/index'),
                meta: { title: i18n.t('message.xzkc') }
            }
        ]
    },
    {
        path: '/activityManagement',
        component: Layout,
        redirect: '/activityManagement/activityManagementList',
        meta: { title: i18n.t('message.hdgl'), icon: 'nav_huodong', serveName: 'activityManagement' },
        children: [{
            path: 'activityManagementList',
            name: 'ActivityManagementList',
            component: () => import('@/views/activityManagement/activityManagementList/index'),
            meta: { title: i18n.t('message.hdgl'), serveName: 'ActivityManagementList' }
        }, {
            path: 'activityManagementAdd',
            name: 'ActivityManagementAdd',
            hidden: true,
            component: () => import('@/views/activityManagement/activityManagementList/add'),
            meta: { title: i18n.t('message.xzhd') }
        }, {
            path: 'registration',
            name: 'Registration',
            component: () => import('@/views/activityManagement/registration/index'),
            meta: { title: i18n.t('message.bmdd'), serveName: 'Registration' }
        }, {
            path: 'signRecordList',
            name: 'SignRecordList',
            component: () => import('@/views/activityManagement/signRecordList/index'),
            meta: { title: i18n.t('message.bmjl'), serveName: 'SignRecordList' }
        }]
    },
    {
        path: '/application',
        component: Layout,
        redirect: '/application/applicationCenter',
        meta: { title: i18n.t('message.yy'), icon: 'nav_yingyong', serveName: 'Application' },
        children: [
            {
                path: 'applicationCenter',
                name: 'ApplicationCenter',
                component: () => import('@/views/application/applicationCenter/index'),
                meta: { title: i18n.t('message.yyzx'), serveName: 'ApplicationCenter' }
            },
            {
                path: 'Portrayal',
                name: 'Portrayal',
                hidden: true,
                component: () => import('@/views/application/portrayal'),
                meta: { title: i18n.t('message.hyhxyx') }
            },
            {
                path: 'PortrayalDetail',
                name: 'PortrayalDetail',
                hidden: true,
                component: () => import('@/views/application/portrayal/components/PortrayalMem/Detail.vue'),
                meta: { title: i18n.t('message.hxxq') }
            },
            {
                path: 'DirectedCoupom',
                name: 'DirectedCoupom',
                hidden: true,
                component: () => import('@/views/application/SendCoupomRecord'),
                meta: { title: i18n.t('message.dxfj') }
            },
            {
                path: 'wonderfulMoments',
                name: 'WonderfulMoments',
                hidden: true,
                component: () => import('@/views/application/wonderfulMoments/index'),
                meta: { title: i18n.t('message.jcsj'), serveName: 'WonderfulMoments' }
            },
            {
                path: 'ordering',
                name: 'Ordering',
                hidden: true,
                component: () => import('@/views/application/ordering/index'),
                meta: { title: i18n.t('message.dcgl'), serveName: 'Ordering' }
            },
            {
                path: 'online',
                name: 'Online',
                hidden: true,
                component: () => import('@/views/application/online/index'),
                meta: { title: '在线点餐', serveName: 'OnlineFood' }
            },
            {
                path: 'orderingDetail',
                name: 'OrderingDetail',
                component: () => import('@/views/goodsmanager/orderingDetail/index'),
                hidden: true,
                meta: { title: i18n.t('message.dcxq'), activeMenu: '/goodsmanager/ordering' }
            },
            {
                path: 'dinnerTable',
                name: 'DinnerTable',
                hidden: true,
                component: () => import('@/views/goodsmanager/dinnerTable/index'),
                meta: { title: i18n.t('message.cqcz') }
            },
            {
                path: 'orderDinner',
                name: 'OrderDinner',
                hidden: true,
                component: () => import('@/views/goodsmanager/orderDinner/index'),
                meta: { title: i18n.t('message.dcgl') }
            },
            {
                path: 'orderDinnerOnline',
                name: 'OrderDinnerOnline',
                hidden: true,
                component: () => import('@/views/goodsmanager/orderDinnerOnline/index'),
                meta: { title: i18n.t('message.dcgl') }
            },
            {
                path: 'varietySet',
                name: 'VarietySet',
                hidden: true,
                component: () => import('@/views/application/ordering/components/varietySet'),
                meta: { title: i18n.t('message.dcsz') }
            },
            {
                path: 'varietySets',
                name: 'VarietySets',
                hidden: true,
                component: () => import('@/views/application/online/components/varietySet'),
                meta: { title: i18n.t('message.dcsz') }
            },
            {
                path: 'varietyAdd',
                name: 'VarietyAdd',
                hidden: true,
                component: () => import('@/views/application/ordering/components/varietyAdd.vue'),
                meta: { title: i18n.t('message.xzcp') }
            },
            {
                path: 'varietyAdd1',
                name: 'VarietyAdd1',
                hidden: true,
                component: () => import('@/views/application/online/components/varietyAdd.vue'),
                meta: { title: i18n.t('message.xzcp') }
            },
            {
                path: 'groupBuy',
                name: 'Meituan',
                component: () => import('@/views/third/meituan/index'),
                meta: { title: i18n.t('message.mt') },
                hidden: true
            },
            {
                path: 'tiktok',
                name: 'Tiktok',
                component: () => import('@/views/third/tiktok/index'),
                meta: { title: i18n.t('message.dy') },
                hidden: true
            },
            {
                path: 'invoice',
                name: 'Invoice',
                component: () => import('@/views/application/invoice/index'),
                meta: { title: i18n.t('message.fpkj'), serveName: 'Invoice' },
                hidden: true
            },
            {
                path: 'currency',
                name: 'Currency',
                component: () => import('@/views/application/currency/index'),
                meta: { title: i18n.t('message.dbjgl'), serveName: 'Currency' },
                hidden: true
            },
            {
                path: 'luckDraw',
                name: 'LuckDraw',
                component: () => import('@/views/application/luckDraw/index.vue'),
                meta: { title: i18n.t('message.cjhd'), serveName: 'luckDraw' },
                hidden: true
            },
            {
                path: 'luckdrawPrizeList',
                name: 'LuckdrawPrizeList',
                hidden: true,
                component: () => import('@/views/application/luckDraw/components/LuckdrawPrizeList.vue'),
                meta: { title: i18n.t('message.jplb') }
            },
            {
                path: 'spellSite',
                name: 'SpellSite',
                component: () => import('@/views/application/SpellSite'),
                meta: { title: i18n.t('message.yqpc') },
                hidden: true
            }
        ]
    },
    {
        path: '/lease',
        component: Layout,
        redirect: '/equipment/lease',
        meta: { title: i18n.t('message.qczl'), icon: 'nav_shangpin', serveName: 'Equipment' },
        children: [{
            path: 'lease',
            name: 'Lease',
            component: () => import('@/views/equipment/lease'),
            meta: { title: i18n.t('message.qczl'), serveName: 'Lease' }
        },
        {
            path: 'leaseRecords',
            name: 'LeaseRecords',
            component: () => import('@/views/equipment/leaseRecords'),
            meta: { title: i18n.t('message.zldd'), serveName: 'LeaseRecords' }
        },
        {
            path: 'leaseManage',
            name: 'LeaseManage',
            component: () => import('@/views/equipment/leaseManage'),
            meta: { title: i18n.t('message.qcgl'), serveName: 'LeaseManage' }
        }
        ]
    },
    {
        path: '/escort',
        component: Layout,
        redirect: '/escort/escortPageList',
        meta: { title: i18n.t('message.byk'), icon: 'nav_shangpin', serveName: 'Escort' },
        children: [
            {
                path: 'escortPageList',
                name: 'EscortPageList',
                component: () => import('@/views/escort/list'),
                meta: { title: i18n.t('message.bykgl'), serveName: 'EscortPageList' }
            },
            {
                path: 'escortOrderList',
                name: 'EscortOrderList',
                component: () => import('@/views/escort/orderList'),
                meta: { title: i18n.t('message.bykdd'), serveName: 'EscortOrderList' }
            }
        ]
    },
    {
        path: '/statistics',
        component: Layout,
        redirect: '/statistics/businessStatistics',
        meta: { title: i18n.t('message.tjfx'), icon: 'nav_tongji', serveName: 'statistics' },
        children: [{
            path: 'businessStatistics',
            name: 'BusinessStatistics',
            component: () => import('@/views/statistics/businessStatistics/statistic/index'),
            meta: { title: i18n.t('message.yyjstj'), serveName: 'BusinessStatistics' }
        }, {
            path: 'businessStatisticsEcharts',
            name: 'BusinessStatisticssEcharts',
            component: () => import('@/views/statistics/businessStatistics/charts/echarts'),
            meta: { title: i18n.t('message.yyjstbtj'), serveName: 'BusinessStatisticssEcharts' }
        }, {
            path: 'businessStatisticsSummary',
            name: 'BusinessStatisticssSummary',
            component: () => import('@/views/statistics/businessStatistics/summary/summary'),
            meta: { title: i18n.t('message.yyfltj'), serveName: 'BusinessStatisticssSummary' }
        }, {
            path: 'transactionRecord',
            name: 'TransactionRecord',
            component: () => import('@/views/statistics/memberStatistics'),
            meta: { title: i18n.t('message.hyxgtj'), serveName: 'TransactionRecord' }
        }, {
            path: 'SpecialCardStatistics',
            name: 'SpecialCardStatistics',
            component: () => import('@/views/statistics/orienteering_card'),
            meta: { title: i18n.t('message.zxkxgtj'), serveName: 'SpecialCardStatisticsByVenue' }
        }, {
            path: 'setmealSales',
            name: 'SetmealSales',
            component: () => import('@/views/statistics/setmealStatistics/index'),
            meta: { title: i18n.t('message.tcxgtj'), serveName: 'SetmealSales' }
        },
        {
            path: 'productDistribution',
            name: 'ProductDistribution',
            component: () => import('@/views/statistics/productDistribution/index'),
            meta: { title: i18n.t('message.cpxsmx'), serveName: 'CourseAndSite' }
        }, {
            path: 'ticketSales',
            name: 'TicketSales',
            component: () => import('@/views/statistics/ticketStatistics/index'),
            meta: { title: i18n.t('message.mpxgtj'), serveName: 'TicketSales' }
        },
        {
            path: 'commoditySales',
            name: 'CommoditySales',
            component: () => import('@/views/statistics/commodityStatistics/index'),
            meta: { title: i18n.t('message.spxgtj'), serveName: 'CommoditySales' }
        },
        {
            path: 'curriculumSales',
            name: 'CurriculumRela',
            component: () => import('@/views/statistics/curriculumStatistics/index'),
            meta: { title: i18n.t('message.kcxgtj'), serveName: 'CurriculumRela' }
        }, {
            path: 'activitySales',
            name: 'ActivityStatistics',
            component: () => import('@/views/statistics/activityStatistics/index'),
            meta: { title: i18n.t('message.hdxgtj'), serveName: 'ActivityStatistics' }
        },
        {
            path: 'fieldStatisticsDetail',
            name: 'FieldStatisticsDetail',
            component: () => import('@/views/statistics/fieldStatistics/fieldStatisticsDetail/index'),
            meta: { title: i18n.t('message.ddxgtj'), serveName: 'FieldStatisticsDetail' }
        }, {
            path: 'devicej',
            name: 'Devicj',
            component: () => import('@/views/statistics/devicej/index'),
            meta: { title: i18n.t('message.rlfx'), serveName: 'Devicj' }
        },
        {
            path: 'devicejs',
            name: 'Devicjs',
            component: () => import('@/views/statistics/devicej/echarts'),
            hidden: true,
            meta: { title: i18n.t('message.rlfxtbtj') }
        }, {
            path: 'advPageList',
            name: 'AdvPageList',
            component: () => import('@/views/statistics/advStatistics/advPageList/index'),
            meta: { title: i18n.t('message.yskqqtj'), serveName: 'AdvPageListV' }
        }]
    }
]
